g=input()
number = int(g)
if number>99 and number<1000:
    print("三位数")
else:
    print("其他")
